package com.xx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author : 徐闯 ssm_admin
 * @Date : 2021-05-12 18:05:59
 * @Description : product
 **/
public class Product {
    private Integer pId;
    private String pName;
    private String pInfo;
    private Double pPrice;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date pStart;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date pEnd;
    private String pOther;


    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpInfo() {
        return pInfo;
    }

    public void setpInfo(String pInfo) {
        this.pInfo = pInfo;
    }

    public Double getpPrice() {
        return pPrice;
    }

    public void setpPrice(Double pPrice) {
        this.pPrice = pPrice;
    }

    public Date getpStart() {
        return pStart;
    }

    public void setpStart(Date pStart) {
        this.pStart = pStart;
    }

    public Date getpEnd() {
        return pEnd;
    }

    public void setpEnd(Date pEnd) {
        this.pEnd = pEnd;
    }

    public String getpOther() {
        return pOther;
    }

    public void setpOther(String pOther) {
        this.pOther = pOther;
    }
}
